package com.cc.mapper;

import com.cc.entity.Comment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CommentMapper {
    List<Comment> findByPage(@Param("page") Integer page, @Param("pageSize") Integer pageSize);
    public int findByPage(Comment comment);
    public int save(Comment comment);
    public int delete(Integer id);
    public int updateByPrimaryKey(Comment comment);
    int total();
    Comment selectByCondition(Integer id);


}

